package net.apexes.demo.codegen.dslite.entity;


/**
 * ShopUser. the database table "SHOP_USER"
 */
public class ShopUser extends net.apexes.demo.codegen.entity.base.EntityBase {

    private static final long serialVersionUID = 1L;

    /**
     * SHOP_ID
     */
    private String shopId;

    /**
     * USER_ID
     */
    private String userId;

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public void cloneFrom(ShopUser from) {
        this.shopId = from.shopId;
        this.userId = from.userId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(super.toString());
        sb.append(",shopId=").append(shopId);
        sb.append(",userId=").append(userId);
        return sb.toString();
    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }

    @Override
    public boolean equals(Object obj) {
        return super.equals(obj);
    }

}

